// Copyright 2017, Paul DeMarco.
// All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:async';
import 'dart:io';
import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import 'package:robotcontrol/page/Page1.dart';
import 'package:robotcontrol/page/page2.dart';
void main()=>runApp(MainPage());
class MainPage extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      routes: {
        "/":(_)=>Page1(),
        "/page2":(_)=>Page2()
      },//路由表注册
      title: "首页",
      // home:Page1() ,
    );
  }

}